//
//  FlutterWrapperVC.h
//  Project
//
//  Created by liting on 2025/9/9.
//

#import <Flutter/Flutter.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FlutterWrapperVC : UIViewController

// 初始化方法
- (instancetype)initWithRoute:(NSString *)route
                       params:(NSDictionary *_Nullable)params
          navigationBarHidden:(BOOL)navigationBarHidden;

// 发送消息到 Flutter
- (void)sendMessageToFlutter:(NSString *)method
                   arguments:(id _Nullable)arguments
                  completion:(void (^_Nullable)(id _Nullable))completion;

@end

NS_ASSUME_NONNULL_END
